package com.quickcancellation.crm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.quickcancellation.crm.mapper.StockdetailMapper;
import com.quickcancellation.crm.pojo.entity.Stockdetail;
import com.quickcancellation.crm.service.IStockdetailService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author baomidou
 * @since 2023-03-04
 */
@Service
public class StockdetailServiceImpl extends ServiceImpl<StockdetailMapper, Stockdetail> implements IStockdetailService {

    @Resource
    private StockdetailMapper stockdetailMapper;

    @Override
    public List<Map> getStockDetails(String agDisId, String productCode) {
        return stockdetailMapper.getStockDetails(agDisId,productCode);
    }
}
